package com.niubility.entity;

public class Assess {
    private int assId;
    private int artId;
    private int userId;
    private String assText;
    private String assDate;
    private int assGoodnum = 0;

    public Assess() {
    }

    public Assess(int assId, int artId, int userId, String assText, String assDate, int assGoodnum) {
        this.assId = assId;
        this.artId = artId;
        this.userId = userId;
        this.assText = assText;
        this.assDate = assDate;
        this.assGoodnum = assGoodnum;
    }

    public int getAssId() {
        return assId;
    }

    public void setAssId(int assId) {
        this.assId = assId;
    }

    public int getArtId() {
        return artId;
    }

    public void setArtId(int artId) {
        this.artId = artId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getAssText() {
        return assText;
    }

    public void setAssText(String assText) {
        this.assText = assText;
    }

    public String getAssDate() {
        return assDate;
    }

    public void setAssDate(String assDate) {
        this.assDate = assDate;
    }

    public int getAssGoodnum() {
        return assGoodnum;
    }

    public void setAssGoodnum(int assGoodnum) {
        this.assGoodnum = assGoodnum;
    }

    @Override
    public String toString() {
        return "Assess{" +
                "assId=" + assId +
                ", artId=" + artId +
                ", userId=" + userId +
                ", assText='" + assText + '\'' +
                ", assDate='" + assDate + '\'' +
                ", assGoodnum=" + assGoodnum +
                '}';
    }
}

